import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.function.Consumer;

public class Test02 {
    public static void main(String[] args) {
        Map<String,String> map=new HashMap<>();
        map.put("伊志平","小龙女");
        map.put("郭靖","穆念慈");
        map.put("欧阳克","黄蓉");
        Set<String> keys=map.keySet();
       /* for(String key:keys){
            String value=map.get(key);
            System.out.println(key+"="+value);
        }*/
        /*Iterator<String> it=keys.iterator();
        while(it.hasNext()){
            String key=it.next();
            String value=map.get(key);
            System.out.println(key+"="+value);*/
        /*keys.forEach(key->{
                String value=map.get(key);
                System.out.println(key+"="+value);

        });*/

    }
}
